<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isErrorPage="true" %>
<html>
<head>
  <title>错误页面</title>
</head>
<body>
<h1>错误信息</h1>
<p>状态: ${pageContext.errorData.statusCode}</p>
<p>请求URI: ${pageContext.errorData.requestURI}</p>
<p>异常: ${pageContext.exception.message}</p>
<p><a href="/">返回首页</a></p>
</body>
</html>